<template>
	<view class="custom-page-box">
		<slot></slot>
    <custom-tabbar v-if="disable"></custom-tabbar>
	</view>
</template>

<script>
	export default {
		name:"custom-page",
		data() {
			return {

			};
		},
		props:{
			  disable:{
				  type:Boolean,
				  default:true
			  }
		},
		onLoad() {
			console.log(this.disable)
		}
	}
</script>

<style lang="scss">
  .custom-page-box{
    width: 100%;
    height: 100vh;
    overflow: auto;
  }
</style>
